<?php

class Application_Form_Login extends Zend_Form
{
	public function init()
	{
		$this->setMethod('post')
			->setAttrib('id','form_login');
		
		$elt = new Zend_Form_Element_Text('login');
		$elt->setLabel('Identifiant');
		$this->addElement($elt);
		
		$elt = new Zend_Form_Element_Password('pass');
		$elt->setLabel('Mot de passe');
		$this->addElement($elt);
		
		$elt = new Zend_Form_Element_Submit('submit');
		$elt->setLabel('Valider');
		$this->addElement($elt);
	}
}